﻿using System;
using System.Collections.Generic;

namespace Infrastructure.Utility.Core
{
    /// <summary>
    /// pdf 的订单数据
    /// </summary>
    public sealed class OrderInfo
    {
        /// <summary>
        /// 应付总金额
        /// </summary>
        public decimal AllNeedPay { get; set; }



        /// <summary>
        /// 订单总额
        /// </summary>
        public decimal OrderTotal { get; set; }

        /// <summary>
        /// 实付总金额
        /// </summary>
        public decimal FactPay { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNumber { get; set; } = "XXXXXXXXXXX";

        /// <summary>
        /// 欠费金额
        /// </summary>
        public decimal ArrearsAmount { get; set; }

        /// <summary>
        /// 转入金额
        /// </summary>
        public decimal TransferInAmount { get; set; } = 0;


        /// <summary>
        /// 下单时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 订单类型
        /// </summary>
        public string OrderType { get; set; }

        /// <summary>
        /// 支付类型 [支付全款□；分期支付□；定金□；订金□] 多选
        /// </summary>
        public string PayType { get; set; }

        public string OrderCategory { get;  set; } 
        /// <summary>
        /// 调转、转让 一堆特殊信息展示
        /// </summary>
        public string TransferMessage { get; set; }

        public List<ReceiptInfo> ReceiptInfos { get; set; } = new();

        public DateTime? OrderConfirmTime { get; set; } = null;

    }
}
